package com.andyliu.util;

import com.andyliu.Constants;

import java.time.LocalDateTime;
import java.util.Calendar;
import java.util.Date;

/**
 * ClassName: DateUtil
 * Description: TODO
 * date: 2021/8/11 3:34 下午
 *
 * @author andyliu
 * @qq 115176513
 * @since JDK 1.8
 */
public class DateUtil {

    public static Date getTokenExpressTime(){
        Calendar c = Calendar.getInstance();
        c.add(Calendar.MILLISECOND, (int)Constants.EXPRESS_TIME);
        return c.getTime();
    }

}
